package com.geotmt.billingcenter.modules.feign;

import com.geotmt.billingcenter.common.vo.params.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.Lazy;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Description 模块之间的调用
 * @Author      yanghanwei
 * @Mail        yanghanwei@geotmt.com
 * @Date        2019/3/15 14:41
 * @Version     v1
 **/
@FeignClient(value = "cpo-admin", configuration = {})
public interface ApiService {

    @PostMapping("/geoc/getUser")
    @Lazy
    User getJwtUser(@RequestBody Integer type);


}
